#import "dfhgwhruebvhrheyroutinebiologyViewController.h"
@interface dfhgwhruebvhrheyroutinebiologyViewController ()
@property (nonatomic, strong) UIScrollView *scrollView;
@end
@implementation dfhgwhruebvhrheyroutinebiologyViewController {
	UIView *tempView;
}
- (void)viewDidLoad {
    [super viewDidLoad];
	tempView = [[UIView alloc] init];
	tempView.backgroundColor = [UIColor clearColor];
	[self.view addSubview:tempView];
	self.scrollView = [[UIScrollView alloc] init];
	self.scrollView.backgroundColor = [UIColor clearColor];
	self.scrollView.showsVerticalScrollIndicator = NO;
	[self.view addSubview:self.scrollView];
	self.containerView = [[UIView alloc] init];
	[self.scrollView addSubview:self.containerView];
}
- (void)setBackgroundColor:(UIColor *)backgroundColor {
	tempView.backgroundColor = backgroundColor;
}
- (void)viewDidLayoutSubviews {
	[super viewDidLayoutSubviews];
	[tempView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.left.bottom.right.equalTo(self.view);
		if (self.isInner) {
			make.top.equalTo(self.view);
		}else {
			make.top.equalTo(self.view.mas_safeAreaLayoutGuideTop);
		}
	}];
	[self.scrollView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.left.right.equalTo(self.view);
		make.bottom.equalTo(self.view.mas_safeAreaLayoutGuideBottom);
		if (self.isInner) {
			make.top.equalTo(self.view);
		}else {
			make.top.equalTo(self.view.mas_safeAreaLayoutGuideTop);
		}
	}];
	[self.containerView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.edges.equalTo(self.scrollView);
		make.width.equalTo(self.view);
	}];
}
@end
